package com.tjshop.android;

import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

import com.actionbarsherlock.view.Menu;
import com.actionbarsherlock.view.MenuInflater;
import com.tjshop.android.mcv.GlobeVars;

/**
 * Created by gytaiSSD on 2015/1/16.
 */
public class MineDataActivity extends AbsBaseActionBarActivity implements
		View.OnClickListener {

	private Context mContext = null;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_invoice);

	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		MenuInflater inflater = getSupportMenuInflater();
		inflater.inflate(R.menu.activity_discover_event, menu);
		return true;
	}

	@Override
	public void onClick(View v) {
	}

	void initEntryItem(View entryContainer, String text, int iconId) {
		TextView leftText = (TextView) entryContainer
				.findViewById(R.id.entry_item_left_icon);
		leftText.setText(text);
		leftText.setCompoundDrawablesWithIntrinsicBounds(iconId, 0, 0, 0);
	}

	void initEntryItemRightIcon(View entryContainer, int iconId) {
		ImageView imageView = (ImageView) entryContainer
				.findViewById(R.id.entry_item_right_icon);
		imageView.setImageResource(iconId);
	}

}
